﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MESPro.Models
{
    /// <summary>
    /// 应用程序信息
    /// </summary>
    [Tenant("Default")]
    public class ProgramInfo:EntityBaseId
    {
        /// <summary>
        /// 程序名
        /// </summary>
        [SugarColumn(Length =50)]
        public string? ProgramName { get; set; }
        /// <summary>
        /// 程序中文名
        /// </summary>
        [SugarColumn(Length = 50)]
        public string? ProgramCHName { get; set; }
        /// <summary>
        /// 版本号
        /// </summary>
        [SugarColumn(Length = 20)] 
        public string? ProgramVersion { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        [SugarColumn(Length = 5)] 
        public string? Status { get; set; }
        /// <summary>
        /// Ftp地址
        /// </summary>
        [SugarColumn(Length = 200)] 
        public string? FtpAddress { get; set; }
        /// <summary>
        /// 用户
        /// </summary>
        [SugarColumn(Length = 20)] 
        public string? FtpUser { get; set; }
        /// <summary>
        /// 用户密码
        /// </summary>
        [SugarColumn(Length = 50)] 
        public string? FtpPassword { get; set; }
    }
}
